Add long click at new Aqara Wireless Remote Switch#19518
Add long click at new Aqara Wireless Remote Switch#19518syssi merged 2 commits intohome-assistant:devfrom
Conversation
New Aqara Wireless Remote Switch Single supports long click. Return click_type = 'long' instead of False
|
Hi @ppanagiotis, It seems you haven't yet signed a CLA. Please do so here. Once you do that we will be able to review and accept this pull request. Thanks! |
|
Thanks for your PR! Could you tell me the model name of the new device? |
Sure. b186acn01. Introduced here 315f83e |
syssi
left a comment
There was a problem hiding this comment.
Should we map long_both_click to long really?
|
I don't have a new double Aqara Wireless Remote Switch to test the long_both_click. |
|
I don't know anymore why the events was filtered for the first generation devices in the past. I will try to understand the implication of your change. Please give me some days for testing. |
Sure. Just fyi: But I think I should filter out the long_both_click event and keep only long_click. Thanks for your time. |
|
Perfect! Please update your PR. I will approve it afterwards. |
|
Done! |
|
Last thing: Coud you extend the Dokumentation? The table of the binary sensor page. Add the device plus the events. |
New Aqara Wireless Remote Switch Single supports long click.
Return click_type = 'long' instead of False
Description:
Related issue (if applicable): fixes #
Pull request in home-assistant.io with documentation (if applicable): home-assistant/home-assistant.io#<home-assistant.io PR number goes here>
Example entry for
configuration.yaml(if applicable):Checklist:
tox. Your PR cannot be merged unless tests passIf user exposed functionality or configuration variables are added/changed: